package teleradiologia.service;

import teleradiologia.domain.Diagnosticlab;
import teleradiologia.domain.Managerdiagnosticlab;
import teleradiologia.domain.Person;
import teleradiologia.repository.ManagerdiagnosticlabDao;

public interface ManagerdiagnosticlabManipulator {
	// simple CRUD operations
	//String create(Managerdiagnosticlab managerdiagnosticlab);	 // create
	Managerdiagnosticlab getByNip(String nip);		 // read
	void update(Managerdiagnosticlab managerdiagnosticlab);	 // update
	void delete(Managerdiagnosticlab managerdiagnosticlab);	 // delete
	
	Managerdiagnosticlab getByIdPerson(long idPerson);
	Managerdiagnosticlab getByKrsnumber(String krsnumber);

	// IoC - setter
	public void setManagerdiagnosticlabDao(ManagerdiagnosticlabDao managerdiagnosticlabDao);
	String create(Managerdiagnosticlab managerdiagnosticlab, Person person,
			Diagnosticlab diagnosticlab);
}
